package com.riddle.model;

import java.util.List;

public interface TreeModel<T extends TreeModel> {

	public Long getId();
	
	public void setId(Long id);
	
	public String getName();
	
	public void setName(String name);
	
	public T getParent();
	
	public void setParent(T t);
	
	public List<T> getChildren();
	
	public void setChildren(List<T> t);
}
